package MyOs;
import queue.*;
//设置内核调度算法为时间片轮转算法，轮转周期为5秒
class AlgorithmSlice implements Algorithm {
    private linkqueue lq=ProcessManager.getOperationQueue();
    public Pcb getSwitch() {
       return lq.getOnePcb();
    }
    public String toString() {
        return "时间片轮转调度算法";
    }
}